﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StudySerialization
{
    class MyGenerics<T>
        where T: IApp
    {

        private T t;

        public MyGenerics()
        { }

        public MyGenerics(T _t)
        {
            t = _t;
        }
        
        public string GiveMeTheName (T t)
        {
            return "With arg " + t.AppAuthor;
        }

        public string GiveMeTheNameWitNoArgs()
        {
            return "With no args " + t.AppName;
        }


    }
}
